"""Miyuki string resource


Changes Log:

1.0.0.1
! event.Skip before everything else.
! Fix enable/disable menu after rearrange.

1.0.0.0
+ Initial release.
"""

import component
import dateutil.parser

name = 'Miyuki'
fullname = 'Takara Miyuki'
description = '*Booru Viewer'
trademarks = 'As I pray, unlimited syntax works'
copyright = 'Copyright 2013 Julot'
blessing = ('May you do good and not evil.\r\n'
            'May you find forgiveness for yourself and forgive others.\r\n'
            'May you share freely, never taking more than you give.')

company = component.Namespace()
company.name = 'Seraphim'

author = component.Namespace()
author.name = 'Julot'
author.email = 'andy.julot@gmail.com'

version = component.Namespace()
version.number = '1.0.0.1'
version.human = component.Formatter.version(version.number)

histories = {'0.0.0.0': '2013-08-05', '1.0.0.0': '2013-08-06',
             version.number: '2013-08-20'}
    
date = dateutil.parser.parse(histories[version.number])

manifest = '''
    <assembly
      xmlns="urn:schemas-microsoft-com:asm.v1"
      manifestVersion="1.0"
    >
      <assemblyIdentity
        version="%s"
        processorArchitecture="x86"
        name="%s"
        type="win32"
      />
      <description>%s</description>
      <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
        <security>
          <requestedPrivileges>
            <requestedExecutionLevel
              level="asInvoker"
              uiAccess="false"
            />
          </requestedPrivileges>
        </security>
      </trustInfo>
      <dependency>
        <dependentAssembly>
          <assemblyIdentity
            type="win32"
            name="Microsoft.VC90.CRT"
            version="9.0.21022.8"
            processorArchitecture="x86"
            publicKeyToken="1fc8b3b9a1e18e3b"
          />
        </dependentAssembly>
      </dependency>
      <dependency>
        <dependentAssembly>
          <assemblyIdentity
            type="win32"
            name="Microsoft.Windows.Common-Controls"
            version="6.0.0.0"
            processorArchitecture="x86"
            publicKeyToken="6595b64144ccf1df"
            language="*"
          />
        </dependentAssembly>
      </dependency>
    </assembly>
    ''' % (version.number, name, name)
